package com.emma.service.impl;

import com.emma.dao.UserDao;
import com.emma.entity.User;
import com.emma.service.UserServie;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;
@Service
public class UserServiceImpl implements UserServie {

    @Autowired
    private UserDao userDao;
    @Override
    public User findUser(Map<String, Object> condition) {
        return userDao.findUser(condition);
    }
}
